package com.example.springbootgraduation.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.springbootgraduation.entity.Role;
import org.apache.ibatis.annotations.Param;

import java.util.List;

//角色
public interface RoleService extends IService<Role>{
    List<Integer> queryAllPermissionByRid(Integer roleId);

    void deleteRoleByRid(Integer rid);

    void saveRoleMenu(Integer rid, Integer mid);

    List<Integer> queryUserRoleById(Integer id);
}
